package com.ht.service.student.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.ht.dao.student.FamilycaseMapper;
import com.ht.bean.student.Familycase;
import com.ht.service.student.FamilycaseService;

import java.util.List;

/**
 * @author lrq
 * @date 2020/6/29 8:57
 * 
 */
@Service
public class FamilycaseServiceImpl implements FamilycaseService{

    @Resource
    private FamilycaseMapper familycaseMapper;

    @Override
    public int getTotalRow(Integer studid) {
        return familycaseMapper.getTotalRow(studid);
    }

    @Override
    public List<Familycase> allFamilycase(Integer studid) {
        return familycaseMapper.allFamilycase(studid);
    }

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return familycaseMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Familycase record) {
        return familycaseMapper.insert(record);
    }

    @Override
    public int insertSelective(Familycase record) {
        return familycaseMapper.insertSelective(record);
    }

    @Override
    public Familycase selectByPrimaryKey(Integer id) {
        return familycaseMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Familycase record) {
        return familycaseMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Familycase record) {
        return familycaseMapper.updateByPrimaryKey(record);
    }

}
